home *** CD-ROM | disk | FTP | other *** search
- #ifndef _H_STDLIB
- #define _H_STDLIB
-
- #define RAND_MAX 0x7FFF
-
- #define EXIT_SUCCESS 0
- #define EXIT_FAILURE 1
-
- #define NULL 0
- typedef unsigned int size_t;
-
- void exit(int errstatus);
-
- void *malloc(int n);
- void free(void *ptr);
- char *getenv(char *str1);
-
- void srand(unsigned int seed);
- int rand();
-
- char *itoa(int value,char *str1,int radix);
- char *ltoa(long value, char *str1, int radix);
-
- long labs(long n);
- int abs(int n);
- long atol(char *str1);
- int atoi(char *str1);
-
- long strtol(char *nptr, char **endptr, int base);
- unsigned long strtoul(char *nptr, char **endptr, int base);
-
- double strtod(char *nptr, char **endptr);
- double atof(char *ptr);
-
- #endif
-